home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / cmscheckgamut.z / cmscheckgamut
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333))))                     CCCCMMMMSSSS                      ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cmsCheckGamut - test pixels in a buffer to see whether they are in gamut
  10.      for a given transform
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
  14.  
  15.      iiiinnnntttt33332222 ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt ((((ccccttttxxxxtttt,,,, ttttffffmmmm,,,, ****ppppssssrrrrcccc,,,, ppppggggaaaammmmuuuuttttmmmmaaaapppp))));;;;
  16.      CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
  17.      CCCCMMMMSSSSTTTTffffmmmm ttttffffmmmm;;;;
  18.      CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppssssrrrrcccc;;;;
  19.      CCCCMMMMSSSSGGGGaaaammmmuuuuttttMMMMaaaapppp ppppggggaaaammmmuuuuttttmmmmaaaapppp;;;;
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _c_m_s_C_h_e_c_k_G_a_m_u_t uses the transform _t_f_m to test input pixel buffer _p_s_r_c and
  23.      generate the output flags buffer _p_g_a_m_u_t_m_a_p for out-of-gamut indication.
  24.      The order of bits in _p_g_a_m_u_t_m_a_p follows the order of input pixels.
  25.  
  26.      Gamut checking may take a while to perform.  If you are concerned about
  27.      maintaining interactivity, you  may wish to check portions of images in
  28.      smaller sized chunks.
  29.  
  30. EEEERRRRRRRROOOORRRRSSSS
  31.      CMS_OUT_OF_MEMORY
  32.                There is not sufficient memory available for gamut testing.
  33.  
  34.      CMS_BAD_PIXEL_BUF
  35.                psrc is not a valid pixel buffer.
  36.  
  37.      CMS_BAD_GAMUT_MAP
  38.                pgamutmap is not a valid gamut map buffer.
  39.  
  40.      CMS_BAD_TFM
  41.                tfm is not a valid transform, or it has not been built.
  42.  
  43.      CMS_CONVERT_ERROR
  44.                The transform specified by tfm is not valid.
  45.  
  46. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  47.      cmsCreateGamutCheck
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.